export const residentTypeMap: { [key: number]: string } = {
  10: '业主',
  20: '成员',
  30: '租户'
};
export function getResidentTypeText(type: number): string {
  return residentTypeMap[type] || '';
}

export const propertyChargeTypeMap: { [key: number]: string } = {
  10: '物业费',
  20: '水费',
  30: '电费',
  40: '煤气费'
};
export function getPropertyChargeTypeText(chargeType: number): string {
  return propertyChargeTypeMap[chargeType] || '';
}

export const propertyPaymentStatusMap: { [key: number]: string } = {
  10: '未支付',
  20: '已支付',
  90: '已作废'
};
export function getPropertyPaymentStatusText(paymentStatus: number): string {
  return propertyPaymentStatusMap[paymentStatus] || '';
}

export const propertyParkingAreaStatusMap: { [key: number]: string } = {
  30: '临停',
  10: '业主',
  20: '月租'
};
export function getPropertyParkingAreaStatusText(status: number): string {
  return propertyParkingAreaStatusMap[status] || '';
}

export const propertyRepairRequestStatusMap: { [key: number]: string } = {
  10: '待处理',
  20: '处理中',
  30: '已完成'
};
export function getPropertyRepairRequestStatusText(status: number): string {
  return propertyRepairRequestStatusMap[status] || '';
}

export const propertyFacilityStatusMap: { [key: number]: string } = {
  10: '正常',
  20: '异常'
};
export function getPropertyFacilityStatusText(status: number): string {
  return propertyFacilityStatusMap[status] || '';
}

